<?php

class version extends object_standard {

    //attributes
    protected $id;
    protected $tipo;
    protected $videojuego;
    protected $empleado;
    //components
    var $components = array();
    //auxiliars for primary key and for files
    var $auxiliars = array();

    //data about the attributes
    public function metadata() {
        return array("id" => array(), "tipo" => array(),
            "videojuego" => array("foreign_name" => "v_v", "foreign" => "video", "foreign_attribute" => "id"),
            "gerente" => array("foreign_name" => "e_ve", "foreign" => "empleado", "foreign_attribute" => "cedula")
            );
    }

    public function primary_key() {
        return array("id");
    }

    public function relational_keys($class, $rel_name) {
        switch ($class) {
            default:
                break;
        }
    }

}

?>